package com.antoco.operation.bigscreen.model.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 巡检工单数统计
 */
@Entity
@Table(name = "xunjian_wo_tj")
@Data
public class XunjianWoTj implements AbstractEntity<Long> , Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Long id;

    /**
     * 统计实例标识
     */
    @Column(name = "tj_ins_id")
    private String tjInsId;

    /**
     * 区域标识
     */
    @Column(name = "area_id")
    private String areaId;

    /**
     * 区域名称
     */
    @Column(name = "area_name")
    private String areaName;

    /**
     * 未开始数量
     */
    @Column(name = "no_begin_num")
    private String noBeginNum;

    /**
     * 未完成数量
     */
    @Column(name = "no_finish_num")
    private String noFinishNum;

    /**
     * 已完成数量
     */
    @Column(name = "finish_num")
    private String finishNum;

}
